/*
 * FNISVGEditor - JavaScript - based editor for SVG graphics 
 * Copyright (C) 2008 - 2009 Antti Leppä / Foyt
 * http://www.foyt.fi
 * 
 * License: 
 * 
 * Licensed under GNU Lesser General Public License Version 2.1 or later (the "LGPL") 
 * http://www.gnu.org/licenses/lgpl.html
 */
FNIDefaultSVGEditorConfiguration = {
  "languages": ["fi", "en"],
  "defaultLanguage": "en",
  "page": {
    "width": 400,
    "height": 400,
    "rectStyle": {
      "fill": "#ffffff",
      "stroke": "#000000",
      "stroke-width": "1px"
    },
    "rectShadowStyle": {      
      "fill": "#adadad"
    },
    "shadowDistance": 3
  },
  "statusbargroups": {
  	"selectioninfo": { 
      "type": "freetext"
	  },
	  "viewinfo": { 
	    "type": "container"
	  },
	  "mouseinfo": { 
	    "type": "container"
	  },
	  "zoom": { 
	    "type": "container"
	  } 
  },
  "smIconsets": {
    "scale": {
      "style": "{\"fill\":\"#000000\"}",
      "activeStyle": "{\"fill\": \"#cacaca\"}",
      "TL": "{\"element\": \"rect\", \"attributes\": { \"width\": 10, \"height\": 10 }}",      
      "TR": "{\"element\": \"rect\", \"attributes\": { \"width\": 10, \"height\": 10 }}",
      "BL": "{\"element\": \"rect\", \"attributes\": { \"width\": 10, \"height\": 10 }}",
      "BR": "{\"element\": \"rect\", \"attributes\": { \"width\": 10, \"height\": 10 }}",
      "width": 10,
      "height": 10
    }, 
    "rotate": {
      "style":"{\"fill\":\"#000000\"}",
      "activeStyle":"{\"fill\":\"#cacaca\"}",
      "TL": "{\"element\": \"path\", \"attributes\": { \"d\": \"M 15.593392,4.3561182 C 14.335812,3.040934 13.068169,1.7355596 11.800667,0.42995565 C 11.80858,1.3998061 11.799778,2.3696708 11.792,3.3394907 C 9.4581096,3.2870594 7.0332873,3.8686429 5.141398,5.2622011 C 3.761756,7.1683211 3.1246412,9.5447293 3.1445511,11.882183 C 2.2232794,11.860075 1.3041553,11.915529 0.38286963,11.893745 C 1.6592369,13.147415 2.9482531,14.387954 4.226122,15.640086 C 5.4716689,14.38066 6.7335736,13.137811 7.9809749,11.880234 C 7.0969002,11.906189 6.2134881,11.874513 5.329337,11.882183 C 5.3817052,10.315965 5.3622268,8.6102079 6.2408928,7.2431475 C 7.1713816,5.85296 8.9565581,5.518994 10.511872,5.4136998 C 11.15863,5.3812144 12.097284,5.1099698 11.803748,6.084409 C 11.811994,6.769717 11.817285,7.4550826 11.81513,8.1404436 C 13.076488,6.8809241 14.336929,5.6205238 15.593392,4.3561182 z\"}}",
      "TR": "{\"element\": \"path\", \"attributes\": { \"d\": \"M 30.31404,16.020348 C 31.629224,14.762768 32.934599,13.495125 34.240203,12.227623 C 33.270352,12.235536 32.300488,12.226734 31.330668,12.218956 C 31.383099,9.8850655 30.801516,7.4602435 29.407957,5.5683545 C 27.501837,4.1887125 25.125429,3.5515975 22.787975,3.5715075 C 22.810083,2.6502355 22.754629,1.7311115 22.776413,0.80982559 C 21.522743,2.0861935 20.282204,3.3752095 19.030072,4.6530785 C 20.289498,5.8986255 21.532347,7.1605295 22.789924,8.4079315 C 22.763969,7.5238565 22.795645,6.6404445 22.787975,5.7562935 C 24.354193,5.8086615 26.059951,5.7891825 27.427011,6.6678485 C 28.817198,7.5983375 29.151164,9.3835145 29.256459,10.938828 C 29.288944,11.585586 29.560189,12.52424 28.585749,12.230704 C 27.900441,12.23895 27.215076,12.244241 26.529715,12.242086 C 27.789234,13.503444 29.049635,14.763885 30.31404,16.020348 z\"}}",
      "BR": "{\"element\": \"path\", \"attributes\": { \"d\": \"M 19.753222,30.319198 C 21.010802,31.634382 22.278445,32.939757 23.545947,34.245361 C 23.538034,33.27551 23.546836,32.305645 23.554614,31.335825 C 25.888505,31.388257 28.313327,30.806673 30.205216,29.413115 C 31.584858,27.506995 32.221973,25.130587 32.202063,22.793133 C 33.123335,22.815241 34.042459,22.759787 34.963744,22.781571 C 33.687377,21.527901 32.398361,20.287362 31.120492,19.03523 C 29.874945,20.294656 28.613041,21.537505 27.365639,22.795082 C 28.249714,22.769127 29.133126,22.800803 30.017277,22.793133 C 29.964909,24.359351 29.984387,26.065108 29.105721,27.432169 C 28.175233,28.822356 26.390056,29.156322 24.834742,29.261616 C 24.187984,29.294102 23.24933,29.565346 23.542866,28.590907 C 23.53462,27.905599 23.529329,27.220234 23.531484,26.534873 C 22.270126,27.794392 21.009685,29.054792 19.753222,30.319198 z\"}}",
      "BL": "{\"element\": \"path\", \"attributes\": { \"d\": \"M 5.0325742,18.654968 C 3.7173902,19.912548 2.4120152,21.180191 1.1064112,22.447693 C 2.0762622,22.43978 3.0461262,22.448582 4.0159462,22.45636 C 3.9635152,24.790251 4.5450982,27.215073 5.9386572,29.106962 C 7.8447772,30.486604 10.221185,31.123719 12.558639,31.103809 C 12.536531,32.025081 12.591985,32.944205 12.570201,33.865491 C 13.823871,32.589123 15.06441,31.300107 16.316542,30.022238 C 15.057116,28.776691 13.814267,27.514787 12.55669,26.267385 C 12.582645,27.15146 12.550969,28.034872 12.558639,28.919023 C 10.992421,28.866655 9.2866632,28.886134 7.9196032,28.007468 C 6.5294162,27.076979 6.1954502,25.291802 6.0901552,23.736488 C 6.0576702,23.08973 5.7864252,22.151076 6.7608652,22.444612 C 7.4461732,22.436366 8.1315382,22.431075 8.8168992,22.43323 C 7.5573802,21.171872 6.2969792,19.911431 5.0325742,18.654968 z\"}}",
      "width": 16,
      "height": 16
    }
  },
  "selectableElementStyle": {
    "stroke": "#ff00ff"
  },
  "plugins": {
     "active": [ 
       "viewTools","drawrect","drawellipse","drawpath","style","objectedit",
       "pathedit","grid","newdocument","loaddocument", "statusinfo","objectgroups",
       "clipboard", "undo", "tests"],
     "pathedit": {
       "segmentHandle": "{\"element\": \"rect\", \"attributes\": { \"width\": 7, \"height\": 7}}",    
       "segmentHandleStyle": {
         "fill": "#1166dd",
         "stroke": "#000000"
      },
      "activeSegmentHandleStyle": {
        "fill": "#3388ff",
        "stroke": "#55aaff" 
      },
      "leverStyle": {
        "stroke": "#0044aa"
      },
      "leverHandle": "{\"element\": \"ellipse\", \"attributes\": { \"rx\": 3, \"ry\": 3}}",   
      "leverHandleStyle": {
        "fill": "#1166dd",
        "stroke": "#000000"
      },
      "activeLeverHandleStyle": {
        "fill": "#3388ff",
        "stroke": "#55aaff" 
      }        
    }
  },  
  "selectionRectStyle": "stroke-dasharray:1,1; fill:none; fill-opacity: 0; stroke:#aaaaaa;stroke-width:1;stroke-opacity:1",
  "objectedit_overpathstyle": { 
    "stroke": "#ff00ff" 
  },
  loadMode: 'ajax'
};